home *** CD-ROM | disk | FTP | other *** search
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-
- <html>
- <head>
- <title>Un form</title>
- </head>
-
- <body>
-
- <%
- Dim strHobby
- Dim blnMusica
-
- blnMusica = false
- strHobby = request.form("chk_hobby")
-
- For Each hobby in request.form("chk_hobby")
- If hobby = "Musica" Then
- blnMusica = true
- End If
- Next
-
- %>
-
- <% if blnMusica = true Then %>
- <p>Caro <%=request.Form("txt_nome")%>, ho visto che ti interessi di musica. Ti dispiace indicarmi il nome del tuo cantante o gruppo preferito?</p>
- <form action="visdaticompleti2.asp" method="post">
-
- <input type="hidden" name="txt_nome" value="<%=request.Form("txt_nome")%>">
- <input type="hidden" name="txt_cognome" value="<%=request.Form("txt_cognome")%>">
- <input type="hidden" name="rad_sesso" value="<%=request.Form("rad_sesso")%>">
- <input type="hidden" name="sel_eta" value="<%=request.Form("sel_eta")%>">
- <input type="hidden" name="chk_hobby" value="<%=request.Form("chk_hobby")%>">
- <input type="hidden" name="txa_note" value="<%=request.Form("txa_note")%>">
-
- Cantante o gruppo preferito <input type="text" name="txt_cantante">
-
- <input type="submit" value="Invia">
-
- </form>
-
- <% else %>
-
-
- <p>Grazie per aver inviato i tuoi commenti, peccato non ti interessi di musica!</p>
-
- <% end if %>
-
- </body>
- </html>
-